/*
 * @Descripttion: im接口
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2025-04-17
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2025-04-25
 */

import request from '../request'

/** 获取im-server服务信息 */
export const requestGetServerInfo = (data: GetServerInfoTypes.IRequest) => {
  return request.post<IBaseResponse<GetServerInfoTypes.IResponse>>('/im/getServerInfo', data)
}

/** 客户端主动下线接口 */
export const requestOffLine = (data: OffLineTypes.IRequest) => {
  return request.post<IBaseResponse<OffLineTypes.IResponse>>('/im/offLine', data)
}
